<include file="Public:header"/>

	<Joyeasy:list sql="SELECT * FROM `yey_category` where id=62" id="r">					
		<!--首页zhongbox-->
		<div class="zhongbox">
			<div class="zhongnr" style="padding-bottom:0px;">
				<div class="shipinbj">
					<div class="shipin_left" id="colee">
						<div  id="colee1">
							<Joyeasy:list sql="SELECT * FROM `yey_shipin` where catid=63 order by listorder asc,id desc" id="rs">
							<div class="shipin_left_li">
								<embed src="{$rs.description}" allowFullScreen="true" quality="high" width="102" height="154" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
							</div>
							</Joyeasy:list>
							<Joyeasy:list sql="SELECT * FROM `yey_shipin` where catid=64 order by listorder asc,id desc" id="rss">
							<div class="shipin_left_li">
								<embed src="{$rss.description}" allowFullScreen="true" quality="high" width="102" height="154" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
							</div>
							</Joyeasy:list>
						</div>
						<div id="colee2"></div>
						<div id="colee3"></div>
						<script>
						var speed=70;
						var colee3=document.getElementById("colee3");
						var colee2=document.getElementById("colee2");
						var colee1=document.getElementById("colee1");
						var colee=document.getElementById("colee");
						colee2.innerHTML=colee1.innerHTML; //克隆colee1为colee2
						colee3.innerHTML=colee1.innerHTML; //克隆colee1为colee3
						function Marquee1(){
						//当滚动至colee1与colee2交界时
						if(colee2.offsetTop-colee.scrollTop<=0){
						 colee.scrollTop-=colee1.offsetHeight; //colee跳到最顶端
						 }else{
						 colee.scrollTop++
						}
						}
						var MyMar1=setInterval(Marquee1,speed)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						colee.onmouseover=function() {clearInterval(MyMar1)}
						//鼠标移开时重设定时器
						colee.onmouseout=function(){MyMar1=setInterval(Marquee1,speed)}
						function Marquee2(){
						//当滚动至colee1与colee2交界时
						if(colee3.offsetTop-colee.scrollTop<=0){
							colee.scrollTop-=colee2.offsetHeight; //colee跳到最顶端
						}else{
							colee.scrollTop++
						}
						}
						var MyMar2=setInterval(Marquee2,speed)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						colee.onmouseover=function() {clearInterval(MyMar2)}
						//鼠标移开时重设定时器
						colee.onmouseout=function(){MyMar2=setInterval(Marquee2,speed)}
						</script>
						<!--向上滚动代码结束-->
					</div>
					<Joyeasy:list sql="SELECT * FROM `yey_shipin` where catid=63 order by listorder asc,id desc limit 0,1" id="rd">
					<div class="shipin_youshang_z">
						<embed src="{$rd.description}" allowFullScreen="true" quality="high" width="350" height="310" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
					</div>
					<div class="shipin_youshang_ys">
						{$rd.keywords}
					</div>
					<div class="shipin_youshang_yx">
						{$rd.jianjie}
					</div>
					</Joyeasy:list>
					
					<div class="shipin_xia1" id="colees">
						<div id="colees1">
						<Joyeasy:list sql="SELECT * FROM `yey_shipin` where catid=63 order by listorder asc,id desc" id="raa">
							<div class="shipin_xia1_li">
								<a href="{$raa.url}">{$raa.title}</a>
							</div>
						</joyeasy:list>
						</div>
						<div id="colees2"></div>
						<div id="colees3"></div>
						<script>
						var speeds=150;
						var colees3=document.getElementById("colees3");
						var colees2=document.getElementById("colees2");
						var colees1=document.getElementById("colees1");
						var colees=document.getElementById("colees");
						colees2.innerHTML=colees1.innerHTML; //克隆colees1为colees2
						colees3.innerHTML=colees1.innerHTML; //克隆colees1为colees3
						function Marquees1(){
						//当滚动至colees1与colees2交界时
						if(colees2.offsetTop-colees.scrollTop<=0){
						 colees.scrollTop-=colees1.offsetHeight; //colees跳到最顶端
						 }else{
						 colees.scrollTop++
						}
						}
						var MyMars1=setInterval(Marquees1,speeds)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						colees.onmouseover=function() {clearInterval(MyMars1)}
						//鼠标移开时重设定时器
						colees.onmouseout=function(){MyMars1=setInterval(Marquees1,speeds)}
						function Marquees2(){
						//当滚动至colees1与colees2交界时
						if(colees3.offsetTop-colees.scrollTop<=0){
							colees.scrollTop-=colees2.offsetHeight; //colees跳到最顶端
						}else{
							colees.scrollTop++
						}
						}
						var MyMars2=setInterval(Marquees2,speeds)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						colees.onmouseover=function() {clearInterval(MyMars2)}
						//鼠标移开时重设定时器
						colees.onmouseout=function(){MyMars2=setInterval(Marquees2,speeds)}
						</script>
						<!--向上滚动代码结束-->
					</div>

					<div class="shipin_xia2" id="coleess">
						<div id="coleess1">
						<Joyeasy:list sql="SELECT * FROM `yey_shipin` where catid=64 order by listorder asc,id desc" id="raa">
							<div class="shipin_xia2_li">
								<a href="{$raa.url}">{$raa.title}</a>
							</div>
						</joyeasy:list>
						</div>
						<div id="coleess2"></div>
						<div id="coleess3"></div>
						<script>
						var speedss=150;
						var coleess3=document.getElementById("coleess3");
						var coleess2=document.getElementById("coleess2");
						var coleess1=document.getElementById("coleess1");
						var coleess=document.getElementById("coleess");
						coleess2.innerHTML=coleess1.innerHTML; //克隆coleess1为coleess2
						coleess3.innerHTML=coleess1.innerHTML; //克隆coleess1为coleess3
						function Marqueess1(){
						//当滚动至coleess1与coleess2交界时
						if(coleess2.offsetTop-coleess.scrollTop<=0){
						 coleess.scrollTop-=coleess1.offsetHeight; //coleess跳到最顶端
						 }else{
						 coleess.scrollTop++
						}
						}
						var MyMarss1=setInterval(Marqueess1,speedss)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						coleess.onmouseover=function() {clearInterval(MyMarss1)}
						//鼠标移开时重设定时器
						coleess.onmouseout=function(){MyMarss1=setInterval(Marqueess1,speedss)}
						function Marqueess2(){
						//当滚动至coleess1与coleess2交界时
						if(coleess3.offsetTop-coleess.scrollTop<=0){
							coleess.scrollTop-=coleess2.offsetHeight; //coleess跳到最顶端
						}else{
							coleess.scrollTop++
						}
						}
						var MyMarss2=setInterval(Marqueess2,speedss)//设置定时器
						//鼠标移上时清除定时器达到滚动停止的目的
						coleess.onmouseover=function() {clearInterval(MyMarss2)}
						//鼠标移开时重设定时器
						coleess.onmouseout=function(){MyMarss2=setInterval(Marqueess2,speedss)}
						</script>
						<!--向上滚动代码结束-->
					</div>
					
				</div>
			</div>				
		</div>
		<!--首页zhongbox-->
	</Joyeasy:list>

<include file="Public:footer_shipin"/>
